-- GENERATED SPELL FOR [Lesser Wrath Hound] --


function spell0_22499(pUnit, Event) --@Double Breath,n/a--
pUnit:FullCastSpellOnTarget(36406,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22499', 4500, 1)
end

function Sorts_22499(pUnit, Event)
local choix_sorts_22499 = math.random(0, 0)
if choix_sorts_22499 == 0 then
pUnit:RegisterEvent('spell0_22499', 1, 1)
end
end

function mob22499_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22499', math.random(1500, 3000), 1)
end

function mob22499_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22499_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22499_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22499, 1, 'mob22499_Action')
RegisterUnitEvent(22499, 2, 'mob22499_Leave')
RegisterUnitEvent(22499, 3, 'mob22499_Kill')
RegisterUnitEvent(22499, 4, 'mob22499_Die')
